package com.eduhzy.ttw.teacher.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.eduhzy.ttw.teacher.di.module.MineSchoolModule;
import com.eduhzy.ttw.teacher.mvp.contract.MineSchoolContract;
import com.jess.arms.di.scope.ActivityScope;
import com.eduhzy.ttw.teacher.mvp.ui.activity.MineSchoolActivity;

/**
 * @author xubo
 * @date 2018-7-18 16:29:59
 */
@ActivityScope
@Component(modules = MineSchoolModule.class, dependencies = AppComponent.class)
public interface MineSchoolComponent {
    void inject(MineSchoolActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        MineSchoolComponent.Builder view(MineSchoolContract.View view);

        MineSchoolComponent.Builder appComponent(AppComponent appComponent);

        MineSchoolComponent build();
    }


}